<?php
/**
 *
 * PHP version 5.3
 *
 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
 * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
 *
 * DSS Network S.L.
 * Portal web Dulcissimas
 * 
 * @cliente: Juan F. Sánchez
 * @desarrollador: Francisco J. Moreno
 * @like: PFC LSI ETSII US
 * La Puebla de Cazalla (Sevilla) - 2011
 */
?>
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
	<?php echo $this->Html->charset() ?>

	<title><?php echo $title_for_layout ?></title>
	<?php
		echo $this->Html->meta('icon');

		echo $this->Html->css('style');
		echo $this->Html->css('content');
		echo $this->Html->css('register');
		echo $this->Html->css('menu/menu_style');
		echo $this->Html->css('admin');

		echo $scripts_for_layout;
	?>
</head>
<body>
	<div id='container'>
		<div id='header'><?php echo $this->element('header') ?></div>
		<div id='menu'><?php echo $this->element('menu') ?></div>
		
		<div id='admin_content'>
			<div class='admin_sidebar'>
				<?php echo $this->element('perfil_sidebar') ?>
			</div>
			<div class='admin_main'>
				<?php echo $this->Session->flash() ?>

				<?php echo $content_for_layout ?>
			</div>
			
		</div>
		<div id='footer'><?php echo $this->element('footer') ?></div>
	</div>
</body>
<?php echo $this->element('analytics') ?>
</html>